[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api02.nas"]

		GLOBAL	_api_end, _api_cmdline


[SECTION .text]



_api_end:	; void api_end(void);
		MOV		EDX,4
		INT		0x40


_api_cmdline:  ; int api_cmdline (char * buf ,int maxlength ) ;
		PUSH EBX 
		MOV EDX ,30
		MOV EBX ,[ESP+8]
		MOV ECX ,[ESP+12]
		INT 0x40
		POP EBX
		RET